package com.lapian.designmode.bridge.SGG;

/**
 * 创建日期：2022/7/14 14:09
 *
 * @author 唐门.西门吹雪
 * 类说明：
 */
public abstract class Phone {
    private final Brand brand;

    public Phone(Brand brand) {
        super();
        this.brand=brand;
    }
    protected void open(){
        this.brand.open();
    }
    protected void close(){
        this.brand.close();
    }
    protected void call(){
        this.brand.call();
    }
}
